home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wics.zip / SMPLDLG.H < prev    next >
C/C++ Source or Header  |  1993-03-05  |  963b  |  40 lines

  1. #ifndef _SMPLDLG_H
  2. #define _SMPLDLG_H
  3.  
  4. #include <owl.h>
  5. #include <hierlb.h>
  6. #include <dial.h>
  7. #include <numedit.h>
  8. #include <demorc.h>
  9. #include <pctbar.h>
  10.  
  11. _CLASSDEF (TSampleDialog)
  12.  
  13. class TSampleDialog : public TDialog
  14. {
  15. private:
  16.     PTHierarchialListBox    AHierarchialListBox;
  17.     PTDial                    ARevenueDial;
  18.     PTDial                    AnExpenseDial;
  19.     PTNumericEdit            ARevenuePercent;
  20.     PTNumericEdit            AnExpensePercent;
  21.     PTNumericEdit            ARevenueTotal;
  22.     PTNumericEdit            AnExpenseTotal;
  23.     PTPercentBar            APercentBar;
  24.     HBRUSH                    hBackgroundBrush;
  25.  
  26. protected:
  27.     virtual void SetupWindow();
  28.  
  29.     virtual void WMVScroll (RTMessage msg) = [ WM_FIRST + WM_VSCROLL ];
  30.     virtual void WMCtlColor (RTMessage msg) = [ WM_FIRST + WM_CTLCOLOR ];
  31.     virtual void cmdRevenue (RTMessage msg) = [ ID_FIRST + ID_REVENUE ];
  32.     virtual void cmdExpense (RTMessage msg) = [ ID_FIRST + ID_EXPENSE ];
  33.  
  34. public:
  35.     TSampleDialog (PTWindowsObject AParent);
  36.     ~TSampleDialog ();
  37. };
  38.  
  39. #endif
  40.